home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / dist / 4Dwm.idb / usr / lib / X11 / system.4Dwmrc.z / system.4Dwmrc
Encoding:
Text File  |  1997-02-07  |  9.1 KB  |  278 lines

  1. !
  2. ! Copyright (C) 1992 Silicon Graphics, Inc. All rights reserved.
  3. ! (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  4. ! ALL RIGHTS RESERVED 
  5. ! Motif Release 1.2
  6.  
  7. ################################################################################
  8. #                                                                              #
  9. #                        4Dwm RESOURCE DESCRIPTION FILE                        #
  10. #                        (system.4Dwmrc, $HOME/.4Dwmrc)                        #
  11. #                                                                              #
  12. # This file is less imposing than it seems at first glance.  It includes       #
  13. # two clearly identified sets of values.                                       #
  14. #                                                                              #
  15. #    * OSF original values -- included so that anyone who wants to either   #
  16. #      use the original OSF values or see what changes SGI has made has     #
  17. #      an easy way to do so.                                                #
  18. #                                                                              #
  19. #    * 4Dwm values -- uses a superset of mwm functions, and takes           #
  20. #      advantage of new features in 4Dwm.  Settings which establish SGI's   #
  21. #       default end user environment are included here.               #
  22. #                                                                              #
  23. # We provide both versions to allow easy user switching and comparison         #
  24. # between them.                                                                #
  25. #                                                                              #
  26. #                                                                              #
  27. #   NOTE: To personalize this file, copy this file before editing it.          #
  28. #         Personalize copies of the 4Dwm resource file typically               #
  29. #         reside as:                                                           #
  30. #                                                                              #
  31. #      $HOME/.4Dwmrc                                                          #
  32. #                                                                              #
  33. ################################################################################
  34.  
  35.  
  36.  
  37. ################################################################################
  38. #                                                                              #
  39. #                         BUTTON BINDING DESCRIPTIONS                          #
  40. #                                                                              #
  41. ################################################################################
  42.  
  43. !!
  44. !! OSF Button Binding Description(s)
  45. !!
  46.  
  47. Buttons DefaultButtonBindings
  48. {
  49.     <Btn1Down>    icon|frame    f.raise
  50.     <Btn3Down>    icon|frame    f.post_wmenu
  51.     <Btn3Down>    root        f.menu    DefaultRootMenu
  52. }
  53.  
  54. Buttons ExplicitButtonBindings
  55. {
  56.     <Btn1Down>    frame|icon    f.raise
  57.     <Btn3Down>    frame|icon    f.post_wmenu
  58.     <Btn3Down>    root        f.menu    DefaultRootMenu
  59. !    <Btn1Up>    icon        f.restore
  60.     Alt<Btn1Down>    window|icon    f.lower
  61. !    Alt<Btn2Down>    window|icon    f.resize
  62. !    Alt<Btn3Down>    window|icon    f.move
  63.  
  64. }
  65.  
  66. Buttons PointerButtonBindings
  67. {
  68.     <Btn1Down>    frame|icon    f.raise
  69.     <Btn3Down>    frame|icon    f.post_wmenu
  70.     <Btn3Down>    root        f.menu    DefaultRootMenu
  71.     <Btn1Down>    window        f.raise
  72. !    <Btn1Up>    icon        f.restore
  73.     Alt<Btn1Down>    window|icon    f.lower
  74. !    Alt<Btn2Down>    window|icon    f.resize
  75. !    Alt<Btn3Down>    window|icon    f.move
  76. }
  77.  
  78.  
  79. !!
  80. !! SGI 4Dwm Button Binding Descriptions
  81. !!
  82. Buttons 4DwmButtonBindings
  83. {
  84.         <Btn1Down>    root        f.menu    4DwmRootMenu
  85. !       <Btn1Down>    window        f.raise
  86.         <Btn1Click>    frame        f.raise
  87. !    Click, so we don't disable the Btn1Down ability to move the icon.
  88. !    Btn1Down doing an f.move is in the OSF manuals.
  89.         <Btn1Click>    icon        f.restore
  90.     Ctrl<Btn1Down>    frame|icon    f.lower
  91.    Shift<Btn1Down>    frame|icon    f.raise
  92.  
  93.         <Btn2Down>    frame|icon    f.move
  94.     Ctrl<Btn2Down>    frame|icon    f.lower
  95.    Shift<Btn2Down>    frame|icon    f.raise
  96.  
  97.         <Btn3Down>    root        f.menu    Selected
  98.         <Btn3Down>    frame|icon    f.post_wmenu
  99.     Ctrl<Btn3Down>    frame|icon    f.post_wmenu
  100.    Shift<Btn3Down>    frame|icon    f.post_wmenu
  101.     Meta<Btn3Down>    window|icon    f.post_wmenu
  102. }
  103.  
  104.  
  105. ################################################################################
  106. #                                                                              #
  107. #                          KEY BINDING DESCRIPTIONS                            #
  108. #                                                                              #
  109. ################################################################################
  110.  
  111. !!
  112. !! OSF Key Binding Description
  113. !!
  114.  
  115. Keys DefaultKeyBindings
  116. {
  117.     Shift<Key>Escape    window|icon        f.post_wmenu
  118.     Alt<Key>space        window|icon        f.post_wmenu
  119.     Alt<Key>Tab        root|icon|window    f.next_key
  120.     Alt Shift<Key>Tab    root|icon|window    f.prev_key
  121.     Alt<Key>Escape        root|icon|window    f.circle_down
  122.     Alt Shift<Key>Escape    root|icon|window    f.circle_up
  123.     Alt Shift Ctrl<Key>exclam root|icon|window    f.set_behavior
  124.     Alt<Key>F6        window            f.next_key transient
  125.     Alt Shift<Key>F6    window            f.prev_key transient
  126.     Shift<Key>F10        icon            f.post_wmenu
  127. !    Alt Shift<Key>Delete    root|icon|window    f.restart
  128. }
  129.  
  130.  
  131. !!
  132. !! SGI 4Dwm Key Binding Description
  133. !!
  134. Keys 4DwmKeyBindings
  135. {
  136.     # Same as the standard OSF Key Bindings
  137.     Shift<Key>Escape    window|icon        f.post_wmenu
  138.     Alt<Key>space        window|icon        f.post_wmenu
  139.     Alt<Key>Tab        root|icon|window    f.next_key
  140.     Alt Shift<Key>Tab    root|icon|window    f.prev_key
  141.     Alt<Key>Escape        root|icon|window    f.circle_down
  142.     Alt Shift<Key>Escape    root|icon|window    f.circle_up
  143.     Alt Shift Ctrl<Key>exclam root|icon|window    f.set_behavior
  144.     Alt<Key>F6        window            f.next_key transient
  145.     Alt Shift<Key>F6    window            f.prev_key transient
  146.     Shift<Key>F10        icon            f.post_wmenu
  147. !    Alt Shift<Key>Delete    root|icon|window    f.restart
  148.  
  149.     # SGI added key bindings
  150.     Shift<Key>Escape    root            f.menu 4DwmRootMenu
  151.     Alt<Key>space        root            f.menu 4DwmRootMenu
  152. }
  153.  
  154.  
  155. ################################################################################
  156. #                                                                              #
  157. #                          ROOT MENU PANE DEFINITIONS                          #
  158. #                                                                              #
  159. ################################################################################
  160.  
  161. !!
  162. !! OSF Root Menu Description (this menu must be explicitly posted via f.menu)
  163. !!
  164.  
  165. Menu DefaultRootMenu
  166. {
  167.     "Root Menu"        f.title
  168.     "New Window"        f.exec "xterm &"
  169.     "Shuffle Up"        f.circle_up
  170.     "Shuffle Down"        f.circle_down
  171.     "Refresh"        f.refresh
  172.     "Pack Icons"        f.pack_icons
  173. !    "Toggle Behavior..."    f.set_behavior
  174.      no-label        f.separator
  175.     "Restart..."        f.restart
  176. !    "Quit..."        f.quit_mwm
  177.  
  178. }
  179.  
  180. Menu RootMenu_1.1
  181. {
  182.     "Root Menu"        f.title
  183.     "New Window"        f.exec "xterm &"
  184.     "Shuffle Up"        f.circle_up
  185.     "Shuffle Down"        f.circle_down
  186.     "Refresh"        f.refresh
  187. !    "Pack Icons"        f.pack_icons
  188. !    "Toggle Behavior"    f.set_behavior
  189.     no-label        f.separator
  190.     "Restart..."        f.restart
  191. }
  192.  
  193.  
  194. !!
  195. !! SGI 4Dwm Root Menu Descriptions
  196. !!
  197. Menu 4DwmRootMenu
  198. {
  199.         "4D Window Manager"             f.title
  200.     "Log Out"          _L    f.exec "/usr/bin/X11/endsession"
  201. }
  202.  
  203. Menu 4DwmLongRootMenu
  204. {
  205.     "4D Window Manager"        f.title
  206. !    "New Window"          _N    f.exec "xterm &"
  207.     "Shuffle Up"          _U    f.circle_up
  208.     "Shuffle Down"          _D    f.circle_down
  209.     "Tidy Icons"          _T    f.pack_icons
  210.     "Minimize All"          _M    f.minimize_all
  211.     "Restore All"          _A    f.restore_all
  212.     "Refresh All"          _f    f.refresh
  213.     no-label            f.separator
  214.     "Restart 4Dwm"          _R    f.restart
  215.     "Quit 4Dwm"          _Q    f.quit_mwm
  216.     no-label            f.separator
  217.     "Log Out"          _L    f.exec "/usr/bin/X11/endsession"
  218. }
  219.  
  220. !!
  221. !! Dynamic menus aren't as flexible as others.  They only work in one context.
  222. !! This menu may get additional/changing entries from the desktop.
  223. !!
  224. Menu Selected dynamic
  225. {
  226.         "Desktop"            f.title
  227.     "Log Out"          _L    f.exec "/usr/bin/X11/endsession"
  228.     no-label            f.separator
  229. }
  230.  
  231. ################################################################################
  232. #                                                                              #
  233. #                           WINDOW PANE DEFINITIONS                            #
  234. #                                                                              #
  235. ################################################################################
  236.  
  237. !!
  238. !! OSF Default Window Menu Description
  239. !!
  240.  
  241. Menu DefaultWindowMenu
  242. {
  243.     Restore        _R    Alt<Key>F5    f.restore
  244.     Move        _M    Alt<Key>F7    f.move
  245.     Size        _S    Alt<Key>F8    f.resize
  246.     Minimize    _n    Alt<Key>F9    f.minimize
  247.     Maximize    _x    Alt<Key>F10    f.maximize
  248.     Lower        _L    Alt<Key>F3    f.lower
  249.     no-label                f.separator
  250.     Close        _C    Alt<Key>F4    f.kill
  251. }
  252.  
  253.  
  254. !!
  255. !! SGI 4Dwm Window Menu Description
  256. !!
  257.  
  258. Menu 4DwmWindowMenu
  259. {
  260.         Restore         _R      Alt<Key>F5      f.restore
  261.         Move            _M      Alt<Key>F7      f.move
  262.         Size            _S      Alt<Key>F8      f.resize
  263.         Minimize        _n      Alt<Key>F9      f.minimize
  264.         Maximize        _x      Alt<Key>F10     f.maximize
  265.     Raise        _a    Alt<key>F1    f.raise
  266.         Lower           _L      Alt<Key>F3      f.lower
  267.         no-label                                f.separator
  268.     Close        _C    Alt<Key>F4    f.kill
  269.         Exit            _E      Alt<Key>F12    f.quit_app
  270. }
  271.  
  272. !!
  273. !!  END OF 4Dwm RESOURCE DESCRIPTION FILE
  274. !!
  275.